package com.chenyongjing.design.pattern.chain.general;

/**
 * @Author chen
 * @Date 2022/11/16 22:32
 */
public abstract class Handler {
    protected Handler nextHandler;
    public void setNextHandler(Handler successor) {
        this.nextHandler = successor;
    }

    public abstract void handlerRequest(String request) ;
}
